@layout("/common/_container.html"){
<div class="col-sm-6  col-sm-offset-3">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>用户管理</h5>
        </div>
        <div class="ibox-content">
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-content" style="border:none !important; ">
                            <div class="form-horizontal" id="userInfoForm">
                                <input type="hidden" id="uploadUrl" value="${uploadUrl}">
                                <input type="hidden" id="id" value="${user.id}">
                                <input type="hidden" id="userType" value="${user.userType}">
                                <input type="hidden" id="sexValue" value="${user.userInfo.sex}">

                                <div class="row">
                                    <#avatar id="avatar" name="头像" underline="true" storageUrl="${storageUrl}" avatarImg="${user.userInfo.photo}"/>

                                    <#input id="account" name="账户" underline="true" value="${user.account}" disabled="disabled" />

                                    <#select id="sex" name="性别" underline="true" value="${user.userInfo.sex}">
                                    <option value="1">男</option>
                                    <option value="2">女</option>
                                </#select>

                                        <#input id="email" name="邮箱" type="email" value="${user.userInfo.email}"/>
                                    </div>

                                    <div class="row">
                                        <div id="driverInfoContent">
                                            <#input id="name" name="姓名" underline="true" value="${user.userInfo.name}"/>
                                            <#input id="birthday" name="出生日期" value="${user.userInfo.birthday}" underline="true"/>
                                            <#input id="cellphone" name="登录手机" value="${user.cellphone}"/>
                                        </div>
                                    </div>
                                </div>

                                <div class="progress progress-striped" id="progressTipArea" style="margin-top: 20px;">
                                    <div id="progressBar" style="width: 0%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar" class="progress-bar progress-bar-info">
                                    </div>
                                </div>
                            </div>
                    <div class="row btn-group-m-t">
                        <div class="col-sm-10">
                            <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PtAccountInfoDlg.editInfo()"/>
                        </div>
                    </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
<script src="${ctxPath}/static/modular/system/ptAccount/ptAccount_info.js"></script>
<script>
    laydate.render({
        elem: '#birthday'
    });
</script>
@}
